package com.wavehi.response_deal.web.controller;

import com.wavehi.response_deal.pojo.Person;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author WaveHi
 * @Date 5/11/2021 下午 10:04
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
@RestController
public class DataController {

    @ResponseBody
    @RequestMapping("/getPerson")
    public Person getPerson() {
        return new Person("Betty", 12);
    }
}
